<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>放心app</title>
<link href="<?php echo base_url() .'/style/dashboard'?>/css/category.css" rel="stylesheet" />
<link href="<?php echo base_url() .'/style/dashboard'?>/css/common.css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo base_url() .'/style/dashboard'?>/js/index.js"></script>
</head>
<body>
	<div id="top">
		<div class='pos'>
			<div class='user'>
			 	<a href="">登录</a>
				<a href="">注册</a>
			</div>
		</div>	
	</div>
	<!--栏目栏-->
	<?php $this->load->view('dashboard/header.html')?>

<div id="main">
		<div class='news'>
			<?php foreach($article as $v):?>
			<div class='newsList'>	
				<div class='newsImage'>
					<a href="<?php echo site_url('a/').$v['aid'] ?>"><img src="<?php echo base_url('uploads/').$v['thumb'] ?>" alt="未加入图片" /></a>
				</div>
				<div class='newsContent'>
					<h3><a href="<?php echo site_url('a/').$v['aid'] ?>"><?php echo $v['title']?></a></h3>
					<p><?php echo $v['info']?></p>
					<a href="<?php echo site_url('a/').$v['aid'] ?>" class='more'>更多>></a>
				</div>
			</div>
			<?php endforeach?>
			
		</div>
		<!--加载右边的标题栏-->
		<?php $this->load->view('dashboard/right.html')?>
	</div>

	<!--加载底部-->
	<?php $this->load->view('dashboard/footer.html')?>
</body>
</html>